import Vue from "vue";
import Router from "vue-router";
import Home from "@/home/index.vue";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/", // 默认页面重定向到主页
      redirect: "/Home",
    },
    {
      path: "/Home",
      component: Home,
    },
  ],
});
